\(\int \sqrt [3]{a+b x^3} \, dx\) [524]

   Optimal result
   Rubi [A] (verified)
   Mathematica [C] (warning: unable to verify)
   Maple [F]
   Fricas [F]
   Sympy [C] (verification not implemented)
   Maxima [F]
   Giac [F]
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 11, antiderivative size = 33 \[ \int \sqrt [3]{a+b x^3} \, dx=\frac {x \left (a+b x^3\right )^{4/3} \operatorname {Hypergeometric2F1}\left (1,\frac {5}{3},\frac {4}{3},-\frac {b x^3}{a}\right )}{a} \]

[Out]

x*(b*x^3+a)^(4/3)*hypergeom([1, 5/3],[4/3],-b*x^3/a)/a

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.39, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {252, 251} \[ \int \sqrt [3]{a+b x^3} \, dx=\frac {x \sqrt [3]{a+b x^3} \operatorname {Hypergeometric2F1}\left (-\frac {1}{3},\frac {1}{3},\frac {4}{3},-\frac {b x^3}{a}\right )}{\sqrt [3]{\frac {b x^3}{a}+1}} \]

[In]

Int[(a + b*x^3)^(1/3),x]

[Out]

(x*(a + b*x^3)^(1/3)*Hypergeometric2F1[-1/3, 1/3, 4/3, -((b*x^3)/a)])/(1 + (b*x^3)/a)^(1/3)

Rule 251

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*x*Hypergeometric2F1[-p, 1/n, 1/n + 1, (-b)*(x^n/a)],
x] /; FreeQ[{a, b, n, p}, x] &&  !IGtQ[p, 0] &&  !IntegerQ[1/n] &&  !ILtQ[Simplify[1/n + p], 0] && (IntegerQ[p
] || GtQ[a, 0])

Rule 252

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[a^IntPart[p]*((a + b*x^n)^FracPart[p]/(1 + b*(x^n/a))^Fra
cPart[p]), Int[(1 + b*(x^n/a))^p, x], x] /; FreeQ[{a, b, n, p}, x] &&  !IGtQ[p, 0] &&  !IntegerQ[1/n] &&  !ILt
Q[Simplify[1/n + p], 0] &&  !(IntegerQ[p] || GtQ[a, 0])

Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt [3]{a+b x^3} \int \sqrt [3]{1+\frac {b x^3}{a}} \, dx}{\sqrt [3]{1+\frac {b x^3}{a}}} \\ & = \frac {x \sqrt [3]{a+b x^3} \, _2F_1\left (-\frac {1}{3},\frac {1}{3};\frac {4}{3};-\frac {b x^3}{a}\right )}{\sqrt [3]{1+\frac {b x^3}{a}}} \\ \end{align*}

Mathematica [C] (warning: unable to verify)

Result contains higher order function than in optimal. Order 6 vs. order 5 in optimal.

Time = 0.18 (sec) , antiderivative size = 203, normalized size of antiderivative = 6.15 \[ \int \sqrt [3]{a+b x^3} \, dx=\frac {3 \left ((-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt [3]{a+b x^3} \operatorname {AppellF1}\left (\frac {4}{3},-\frac {1}{3},-\frac {1}{3},\frac {7}{3},-\frac {(-1)^{2/3} \left ((-1)^{2/3} \sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}},\frac {i+\sqrt {3}-\frac {2 i \sqrt [3]{b} x}{\sqrt [3]{a}}}{3 i+\sqrt {3}}\right )}{4 \sqrt [3]{2} \sqrt [3]{b} \sqrt [3]{\frac {\sqrt [3]{a}+(-1)^{2/3} \sqrt [3]{b} x}{\left (1+\sqrt [3]{-1}\right ) \sqrt [3]{a}}} \sqrt [3]{\frac {i \left (1+\frac {\sqrt [3]{b} x}{\sqrt [3]{a}}\right )}{3 i+\sqrt {3}}}} \]

[In]

Integrate[(a + b*x^3)^(1/3),x]

[Out]

(3*((-1)^(2/3)*a^(1/3) + b^(1/3)*x)*(a + b*x^3)^(1/3)*AppellF1[4/3, -1/3, -1/3, 7/3, -(((-1)^(2/3)*((-1)^(2/3)
*a^(1/3) + b^(1/3)*x))/((1 + (-1)^(1/3))*a^(1/3))), (I + Sqrt[3] - ((2*I)*b^(1/3)*x)/a^(1/3))/(3*I + Sqrt[3])]
)/(4*2^(1/3)*b^(1/3)*((a^(1/3) + (-1)^(2/3)*b^(1/3)*x)/((1 + (-1)^(1/3))*a^(1/3)))^(1/3)*((I*(1 + (b^(1/3)*x)/
a^(1/3)))/(3*I + Sqrt[3]))^(1/3))

Maple [F]

\[\int \left (b \,x^{3}+a \right )^{\frac {1}{3}}d x\]

[In]

int((b*x^3+a)^(1/3),x)

[Out]

int((b*x^3+a)^(1/3),x)

Fricas [F]

\[ \int \sqrt [3]{a+b x^3} \, dx=\int { {\left (b x^{3} + a\right )}^{\frac {1}{3}} \,d x } \]

[In]

integrate((b*x^3+a)^(1/3),x, algorithm="fricas")

[Out]

integral((b*x^3 + a)^(1/3), x)

Sympy [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.48 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.12 \[ \int \sqrt [3]{a+b x^3} \, dx=\frac {\sqrt [3]{a} x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{3}, \frac {1}{3} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {4}{3}\right )} \]

[In]

integrate((b*x**3+a)**(1/3),x)

[Out]

a**(1/3)*x*gamma(1/3)*hyper((-1/3, 1/3), (4/3,), b*x**3*exp_polar(I*pi)/a)/(3*gamma(4/3))

Maxima [F]

\[ \int \sqrt [3]{a+b x^3} \, dx=\int { {\left (b x^{3} + a\right )}^{\frac {1}{3}} \,d x } \]

[In]

integrate((b*x^3+a)^(1/3),x, algorithm="maxima")

[Out]

integrate((b*x^3 + a)^(1/3), x)

Giac [F]

\[ \int \sqrt [3]{a+b x^3} \, dx=\int { {\left (b x^{3} + a\right )}^{\frac {1}{3}} \,d x } \]

[In]

integrate((b*x^3+a)^(1/3),x, algorithm="giac")

[Out]

integrate((b*x^3 + a)^(1/3), x)

Mupad [B] (verification not implemented)

Time = 5.94 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.12 \[ \int \sqrt [3]{a+b x^3} \, dx=\frac {x\,{\left (b\,x^3+a\right )}^{1/3}\,{{}}_2{\mathrm {F}}_1\left (-\frac {1}{3},\frac {1}{3};\ \frac {4}{3};\ -\frac {b\,x^3}{a}\right )}{{\left (\frac {b\,x^3}{a}+1\right )}^{1/3}} \]

[In]

int((a + b*x^3)^(1/3),x)

[Out]

(x*(a + b*x^3)^(1/3)*hypergeom([-1/3, 1/3], 4/3, -(b*x^3)/a))/((b*x^3)/a + 1)^(1/3)